package org.github.manx98.jlibhac.ns;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/5 15:40
 */
public enum RuntimeParameterDeliveryValue {
    Always,
    AlwaysIfUserStateMatched,
    OnRestart;
    public static RuntimeParameterDeliveryValue valueOf(byte value) {
        for (RuntimeParameterDeliveryValue t : values()) {
            if (t.ordinal() == value) {
                return t;
            }
        }
        throw new IllegalArgumentException("Unknown RuntimeParameterDeliveryValue: " + value);
    }
}
